{extend name="base" /}
{block name="body"}
<div class="layui-body">
	<!--tab标签-->
	<div class="layui-tab layui-tab-brief">
		<ul class="layui-tab-title">
			<li class=""><a href="{:url('/admin/cpgame')}">CP管理</a></li>
			<li class="layui-this">添加CP</li>
		</ul>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show">
				<form class="layui-form form-container" action="{:url('/admin/cpgame/save')}" method="post" enctype="multipart/form-data">
					<div class="layui-form-item">
						<label class="layui-form-label">CP名称</label>
						<div class="layui-input-block">
							<input type="text" name="name" value="" required  lay-verify="required" placeholder="CP名称" class="layui-input">
						</div>
					</div>

					<div class="layui-form-item">
						<label class="layui-form-label">联系人</label>
						<div class="layui-input-block">
							<input type="text" name="contacts" value="0" required  lay-verify="required" placeholder="联系人" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">手机号</label>
						<div class="layui-input-block">
							<input type="number" name="phone" value="0" required  lay-verify="required" placeholder="手机号" class="layui-input">
						</div>
					</div>

					<div class="layui-form-item">
						<label class="layui-form-label">地址</label>
						<div class="layui-input-block">
							<input type="text" name="address" value="0" required  lay-verify="required" placeholder="地址" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">公司名称</label>
						<div class="layui-input-block">
							<input type="text" name="company" value="0" required  lay-verify="required" placeholder="公司名称" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">统一社会信用代码</label>
						<div class="layui-input-block">
							<input type="text" name="company_code" value="0" required  lay-verify="required" placeholder="统一社会信用代码" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">公司注册地址</label>
						<div class="layui-input-block">
							<input type="text" name="company_address" value="0" required  lay-verify="required" placeholder="公司注册地址" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">开户行</label>
						<div class="layui-input-block">
							<input type="text" name="bank" value="0" required  lay-verify="required" placeholder="开户行" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">银行卡号</label>
						<div class="layui-input-block">
							<input type="text" name="bank_num" value="0" required  lay-verify="required" placeholder="银行卡号" class="layui-input">
						</div>
					</div>


					<div class="layui-form-item">
						<div class="layui-input-block">
							<button class="layui-btn" lay-submit lay-filter="*">保存</button>
							<button type="reset" class="layui-btn layui-btn-primary">重置</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
{/block}
{block name="script"}
<script>
</script>
{/block}